let express = require('express')
let app = express()
let fs = require('fs')
let bodyParser = require('body-parser')
app.use(bodyParser.json({ limit: '50mb' }))

// 引入c层控制器
let userCon = require('./controller/userController')
//调用控制器 传入express实例对象
userCon(app)

app.listen(8088, function () {
    console.log('server start');
})